package org.simple.wechat.demo.api;

import org.simple.wechat.demo.api.request.SimpleRequest;
import org.springframework.web.bind.annotation.*;

/***
 * @author gaoqijin
 * @date 2020-11-18
 * @Description
 */
@RestController
@RequestMapping("/simple")
public class SimpleController {


    /**
     * 测试入参，通过 season的入参为1，是否能正常转行
     * 局部
     * @param request
     * @return
     */
    @PostMapping
    public SimpleRequest list(@RequestBody SimpleRequest request){
        return request;
    }
}
